﻿using LiveChartsCore;
using LiveChartsCore.SkiaSharpView;

namespace ViewModelsSamples.Bars.Basic;

public class ViewModel
{
    public ISeries[] Series { get; set; }
        = {
            new ColumnSeries<double>
            {
                Name = "Mary",
                Values = new double[] { 2, 5, 4 }
            },
            new ColumnSeries<double>
            {
                Name = "Ana",
                Values = new double[] { 3, 1, 6 }
            }
        };

    public Axis[] XAxes { get; set; }
        = {
            new Axis
            {
                Labels = new string[] { "Category 1", "Category 2", "Category 3" },
                LabelsRotation = 15
            }
        };
}
